StackEx
Ecng.Collections
Extends the Stack class to explicitly implement the ICollection interface.
Inherits: Stack<T>
Implements: ICollection<T>, IEnumerable<T>, IEnumerable
Properties
System#Collections#Generic#ICollection{T}#IsReadOnly
Gets a value indicating whether the stack is read-only.
Methods
System#Collections#Generic#ICollection{T}#Add(T)
Adds an item to the top of the stack.
- item
- The item to add.
System#Collections#Generic#ICollection{T}#Remove(T)
Attempts to remove a specific item from the stack. This operation is not supported.
- item
- The item to remove.
Returns: Always throws NotSupportedException.